export default {
  ADD_NUM (state, n) {
    state.num += n
  },
  REDUCE_NUM (state, n) {
    state.num -= n
  },
  INIT_CATES (state, cates) {
    // 获取商品分类
    state.cates = cates
  }
}
